function fftview_PreviewStopped
%UIFFTVIEW_PREVIEWSTOPPED Summary of this function goes here
%   Detailed explanation goes here

    
    tb= findobj('tag', 'tbEditFFTROI', 'type', 'uicontrol');
    cb= findobj('tag', 'cbShowFFTROI', 'type', 'uicontrol');
    IsSelected= get(cb, 'value');
    if IsSelected
        set(tb, 'enable', 'on');
    end
    setappdata(tb, 'PreviewIsRunning', false);
     
end

